]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[placeDisplay] Add missing return statements
authorColin Walters <walters@verbum.org>
Thu, 18 Mar 2010 18:04:35 +0000 (14:04 -0400)
committerColin Walters <walters@verbum.org>
Thu, 18 Mar 2010 18:04:35 +0000 (14:04 -0400)
Otherwise we get a warning.

js/ui/placeDisplay.js

index 46f5303b880ac1f1a4b7fcd7af1855dba6c85e9c..230bd74a33015b2048184c8861ecf98f447bdbe3 100644 (file)
@@ -460,6 +460,7 @@ DashPlaceDisplayItem.prototype = {
         let [stageX, stageY] = event.get_coords();
         this._dragStartX = stageX;
         this._dragStartY = stageY;
+        return false;
     },
 
     _onButtonRelease: function(actor, event) {
@@ -468,6 +469,7 @@ DashPlaceDisplayItem.prototype = {
 
         this._dragStartX = null;
         this._dragStartY = null;
+        return false;
     },
 
     _onHoverChanged: function(button) {